implement global config storage