move routes to lib