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

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

          defaultValue  : running
          itemClass     : KodingSwitch
          cssClass      : "tiny"
          callback      : (state) => @emit 'StateChange', state
        publicIp        :
          label         : "Public IP"
          cssClass      : if running then "custom-link-view" else "hidden"
