Added index.js file
Removed unnecessary module def.