 whoami                  = require 'app/util/whoami'
 environmentDataProvider = require 'app/userenvironmentdataprovider'
 
+stackDefaults = require 'stacks/defaults'
+providersParser = require 'stacks/views/stacks/providersparser'
+requirementsParser = require 'stacks/views/stacks/requirementsparser'
+{ jsonToYaml } = require 'stacks/views/stacks/yamlutils'
+
+
 
 _eventsCache =
   machine    : {}


      reactor.dispatch actions.CREATE_STACK_TEMPLATE_SUCCESS, { stackTemplate }
      resolve { stackTemplate }


updateStackTemplate = (stackTemplate, options) ->

  setMachineAlwaysOn
  setMachinePowerStatus
  createStackTemplate
  createStackTemplateWithDefaults
  updateStackTemplate
  generateStack
  deleteStack
