applied new RESTful routes to web app, config and controllers