Moved config to a JSON file.