                 ? @classes["KD#{constructorName}"]
     new konstructor options, data  if konstructor?
 
-  create    : create
-  new       : create
+  create          : create
+  new             : create
 
   debugStates     : {}
   instances       : {}

          router.openSection options.name, name, query
        router.addRoute slug, handler

      if router = KD.getSingleton('router')
      then do -> cb router
      else KodingRouter.on 'RouterReady', do -> cb

    Object.defineProperty KD.appClasses, options.name,
      configurable  : yes
      enumerable    : yes
      writable      : no
      value         : { fn, options }

  unregisterAppClass :(name)-> delete KD.appClasses[name]


  appClasses      : {}
  appScripts      : {}
  lastFuncCall    : null
  navItems        : []

  socketConnected:->
    @backendIsConnected = yes
