Moved the index.js file into the src folder.
Split the cmd-stuff from the build-stuff.
Fixed the indentation to be more readable.
Split the build-code from the cmd-code to get closer to using this tool in other node projects.