the process of excavating and refining gold