instantiation of MemoryStore