Railway companies established in 1842