CPU module functionality aadded -- reference to registers added as well as flag setter functions.