added package.json and begin of index.js