Refactored the Cpu and fixed an issue with the debugger command processing.