Updated the UI and added hub functionality for the worker class