What did the railways change regarding a town’s location?