remove MemoryDB, add localStorage