Implemented Worker class