Moved loading the memory from the program handler to the memory manager