Cleaned up all classes that have worker threads to use a single WorkerTask class to create worker threads