     if (new Date createdAt) > KD.newKodingLaunchDate
       Cookies.set 'koding082014', 'koding082014'
 
-  apiUri       : KD.config.apiUri
-  appsUri      : KD.config.appsUri
+  config       : {}
+  apiUri       : null
+  appsUri      : null
   singleton    : KD.getSingleton.bind KD
   appClasses   : {}
   appScripts   : {}

  registerRoutes: (appName, routes) ->

    @registerRoute appName, route, handler for own route, handler of routes


  showEnforceLoginModal: ->

    return  if KD.isLoggedIn()
    if Cookies.get('doNotForceRegistration') or location.search.indexOf('sr=1') > -1
      Cookies.set 'doNotForceRegistration', 'true'
      return

    {appManager} = KD.singletons
    appManager.tell 'Account', 'showRegistrationNeededModal'


  registerRoute: (appName, route, handler) ->

KD.extend
  newKodingLaunchDate: do ->
    d = new Date()
