rename ruby_plan & refactory JobWriter.rb