adding lib folder and linking index.js to it