       KD.registerSingleton "activityController",      new ActivityController
       KD.registerSingleton "appStorageController",    new AppStorageController
       KD.registerSingleton "kodingAppsController",    new KodingAppsController
+      KD.registerSingleton "syncLocalController",     new SyncLocalController
       # KD.registerSingleton "kontrol",                 new Kontrol
 
       # @showInstructionsBook()

          localStorage?.removeItem "routeToBeContinued"

        @utils.wait 3000, cookieChangeHandler
    # Note: I am using wait instead of repeat, for the subtle difference.  See this StackOverflow answer for more info: 
    #       http://stackoverflow.com/questions/729921/settimeout-or-setinterval/731625#731625
    @utils.wait 3000, cookieChangeHandler



    return ->
      @utils.wait @getOptions().failWait, checkConnectionState
      @on "AccountChanged", -> notification.destroy()  if notification
