Moved CThread to SoDA lib.