implementation of key-value storage (SettingsStorage)