added index.js for exporting