added file index.js as a work in progress