The making of the working class: Part four - The mining revolution