I'd like to set up a locomotive factory that places its output onto the track. (Obviously, I'll have automated refueling and cargo-cars, too.

Basically, I'd like to set up a station "fresh trains" from which I can draw a new train to come to my distant location and begin running without having to jaunt back to town & back.
To see it visually, I think this should work: