how to design gold processing plant