Move bin specific code to bin, change main file to index.js
Wow a test!