Some Implementation of MemoryManager and UI