added a index.js file and fixed a weird bug with package.json. Not optimal solution but good enough