Change ConfigStore state handling from module to instance