move routes into routes