Building a positive legacy: how mines can create thriving towns