move routes to server dir