move some code to job.rb
Merge branch 'master' of github.com:akechi/mckokoro