added package.json to support npm
.gitignore updated for npm