Create a class to handle the worker thread