 In common with most other British railway companies , the NSR decided early on that it was advantageous to carry out its own maintenance work in all departments and also to undertake much of its own new construction work . Stoke railway works were opened in 1849 , capable of producing carriages , wagons and other equipment . Construction of locomotives followed later , commencing in 1864 . 
