Fix package.json declares 2 scripts keys

I missed it during #2 rebasing.
Closures are not required to isolate module context in NodeJS
Moved bin to package root
Refactor index router to a simpler version
Refactor apirouter to provide a simpler version
IIFE is not necessary in node modules
Fix lint error.