Refactoring of CentralProcessingUnit and RandomAccessMemory.