 
     { computeController } = KD.singletons
 
+    @machine = @getData()
+
+    @on 'StateChange', (state)=>
+      if state then computeController.start @machine
+      else computeController.stop @machine
+      @destroy()
+
+
   viewAppended:->
 
     @addSubView new KDCustomHTMLView


    running = data.status.state in [ Running, Starting ]
    storage = data.jMachine.meta.storage_size ? "0"

    options             = KD.utils.extend options,
      title             : 'Configure Your VM'

        provider        :
          label         : "Provider"
          itemClass     : CustomLinkView
          title         : providers[data.provider]?.name or "Unknown"
          href          : providers[data.provider]?.link or "/"
          target        : "_blank"
        guides          :
          label         : 'Guides'
          itemClass     : GuidesLinksView
