standardize on controller, action, and dot. REST route 'update' uses only PATCH, new 'replace' route uses PUT.
extract route-adding functions to new RouteCollection object