Refactor

config/index.js ?