 class EnvironmentScene extends KDDiaScene
 
-  containerMap =
+  @containerMap =
     EnvironmentRuleContainer    : 'rules'
     EnvironmentExtraContainer   : 'extras'
     EnvironmentDomainContainer  : 'domains'
-    EnvironmentMachineContainer : 'machines'
+    EnvironmentMachineContainer : 'vms'
 
   itemMap      =
     EnvironmentRuleItem         : 'rule'
     EnvironmentExtraItem        : 'extra'
     EnvironmentDomainItem       : 'domain'
-    EnvironmentMachineItem      : 'machine'
+    EnvironmentMachineItem      : 'vm'
 
   constructor:->
     super


    items = parseItems source, target
    return  if Object.keys(items).length < 2
    {domain, machine, rule, extra} = items

    if domain and machine
      jDomain = domain.dia.getData().domain # JDomain
      vmName  = machine.dia.getData().title # JVM.hostnameAlias
      jDomain.unbindVM hostnameAlias: vmName, (err)=>
        return KD.showError err  if err
        jDomain.hostnameAlias.splice jDomain.hostnameAlias.indexOf(vmName), 1
        removeConnection()
    else if domain and rule
      removeConnection()
    else if machine and extra
      removeConnection()

  connect:(source, target, internal = no)->

    super container, pos

    {name} = container.constructor
    label  = EnvironmentScene.containerMap[name] or name
    container._initialPosition = pos
    @boxes[label] = container

