added index.js and package to be run