Trains and vehicles on rails