adding index.js: the starting point for the application