Basic implementation of MemoryDatastore