properly comment and organize Worker, ensure that control methods are thread-safe