Environmental Analysis and Technology for the Refining Industry