Route changes

More RESTful. Fixed a few linting errors.