Move routes to config