add memory manager. memman.