Automation and Process Control of Raw Materials Extraction and Processing