Refactor: Moving config/index.js to config.js