Added proper package.json, changed main script to load version from package.json