Move routes to file