switched handling CLI/file configs to AppConfig