implemented the MemoryDatabase which uses the servers memory to storage games