adding index.js for proper use as module