fixed version parameter problem and added licences and files in package.json