adding package.json and index file