working on improving __dir__
modified getCPU to use re module, should be much more efficient