Adds a memory manager class