Separate routes from the functions that implement them; make two blocks of routes.