Refactored the config.json