process of rail train production