added licence header and updated package.json
altered readme