Updated readme and fixed the npm package.