Finished most of the CPU internals