Moved main file to index.js