Refactor: Moving global app configuration to config/index.js