improve MemoryManger instantiation, change access level