Made store repository a singleton.