added index.js file and node dependencies.