 
 commander
   .version 0.1
-  .option('-i, --infile [path]',  'Path to the channel file to input')
-  .option('-o, --outfile [path]',  'Path to the channel file to output')
-  .option('-f, --form [path]',  'Path to the schema form file to output')
-  .option('-c, --channel-config [path]',  'Path to the channel-config file to output')
-  .parse(process.argv);
+  .option '-i, --infile [path]',  'Path to the channel file to input'
+  .option '-o, --outfile [path]',  'Path to the channel file to output'
+  .option '-f, --form [path]',  'Path to the schema form file to output'
+  .option '-c, --channel-config [path]',  'Path to the channel-config file to output'
+  .parse process.argv
 
 commander.help() unless commander.infile?
 
-converter = new ParseChannelSchemaToJSONSchema channel_infile: commander.infile?,
-  messageSchemaFile: commander.outfile?
-converter.run2()
+converter = new ParseChannelSchemaToJSONSchema()
+converter.run()

    messageSchema

  getForm: (resources) =>
    form = _.map resources, @getFormFromResource
    actionForm =
      key: 'action'
      title: 'Action'
      titleMap: @getActionTitleMap resources

    form.unshift actionForm

    form

  getFormFromResource: (resource) =>
    key: "#{resource.action}"
    notitle: true
    condition: "model.action === '#{resource.action}'"


  getActionTitleMap: (resources) =>


  getChannelConfig: =>
    "I'm empty"

  convertParam: (param) =>
    resourceParam =
