 
     KD.registerSingleton "mainController",            this
 
-    # if KD.useNewKites
     KD.registerSingleton "kontrol",                   new KodingKontrol
 
     KD.registerSingleton 'appManager',   appManager = new ApplicationManager

      KD.registerSingleton 'widgetController',        new WidgetController
      KD.registerSingleton 'onboardingController',    new OnboardingController
      KD.registerSingleton "socialapi",               new SocialApiController
      # KD.registerSingleton "kontrol",                 new Kontrol

      @emit 'AppIsReady'


    idleDetector = new IdleUserDetector { threshold }
    @forwardEvents idleDetector, ['userIdle', 'userBack']


  startCachingAssets:->

    KD.utils.defer ->

