Added StartCPUMonitor function and tests