Add a MappedMemory class

Used for main memory and gamepak
Move Gamepak memory to its own class