updated package.json and added index nodejs file