components of a mining plant