Added Memory class, wrapping/IRQ/Everything works, todo: integrate it into existing code