 
   @manifests = {}
 
+
   # #
   # HELPERS
   # #


  fetchAppsFromDb:(callback)->

    appManager.fetchStorage "KodingApps", "1.0", (err, storage)=>
      if err
        warn err
        callback err
      else
        apps = storage.getAt "bucket.apps"
        if apps and Object.keys(apps).length > 0
          @constructor.manifests = apps
          callback null, apps
        else
          callback new Error "There are no apps in the app storage."

  fetchCompiledApp:(manifest, callback)->
    {name} = manifest
    appPath = getAppPath manifest
    indexJsPath = "#{appPath}/index.js"

    super

    @kiteController = @getSingleton('kiteController')
    @appStorage = new AppStorage 'KodingApps', '1.0'

  # #
  # FETCHERS
