refactor (router) train_routes