Pat Remy updated worker.rb; move to class approach from module