Implemented CPU + memory.

Everything untested.