development of the railways