Online booking of freight trains