Implemented functionality to add and remove worker