An environment aware configuration loader.