Added Main Memory Creation