config refactored to use a single JSON configuration file