adding package.json and index.js