Worker thread class taken out and a separate class is made
Utility class name was not well defined renamed it for better understanding of code
Separate worker class is created