added a basic memory map class