Engineering and design of railway systems