Added basic memory controler.