Routes: restful refactoring route handling