implementing config.json