Railway companies established in 1839