by 1722 the first copper-smelting plant was established and a town began to stretch its bones , groaning around the plant and the quarry , a vice- and crime-ridden machine to service and house exhausted workers .