Updated the UI and added hub functionality for the worker class

Updated UI and added hub functionality for the worker class.