Refactor MemoryManager
New MemoryTransactionManager