A Potted History of Mainline Railways