Re-organizing code in index.js
Re-organizing code in index.js