add command_line.rb, other updates