Move routes to resource