Better RESTful approach to route actions
Compiled JS and added middleware support
Document middleware in README