Add a basic memory manager