Added Worker thread class