Added the beginnings of memory and cartridge support