Moved build script to /bin and added ability to run build from npm