middlware-ifying!

- tests are pretty much the same
- moved all work logic to middleware
- moved blanket config to package.json
adding npm badge to readme