[memory_manager] initial commit