Updated package.json and added main js file