what are the stages of extracting minerals