moved config_manager to core