add package.json and publish on npm.
modify README.md