 
   loadItems:(callback)->
     
-    @getSingleton("kiteController").run
-      kiteName  : "databases"
-      toDo      : "fetchMysqlDatabases"
-      withArgs  : { username : KD.whoami().profile.nickname}
-    , (err, response)=>
-      if err then warn err
-      else
-        @instantiateListItems response
-        callback?()
+    for dbtype in ['mysql', 'mongo']
+      @talkToKite
+        toDo      : @commands[dbtype].fetch
+        withArgs  :
+          dbUser  : KD.whoami().profile.nickname
+      , (err, response)=>
+        log "RESPONSE: ", response
+        if err then warn err
+        else
+          @instantiateListItems response
+          callback?()
 
   deleteDatabase:(listItem)->
-    
     data     = listItem.getData()
-
     @talkToKite
-      toDo     : "removeMysqlDatabase"
+      toDo     : @commands[data.type].remove
       withArgs :
         dbUser : data.dbUser
         dbName : data.dbName

                itemClass     : KDSelectBox 
                type          : "select"
                name          : "type"
                defaultValue  : "JDatabaseMySql"
                selectOptions : [
                  { title : "MySql",    value : "JDatabaseMySql" }
                  { title : "Mongo",    value : "JDatabaseMongo" }
                  # { title : "PostGre",  value : "JDatabasePostGre" }
                  # { title : "CouchDB",  value : "JDatabaseCouchDb" }
                ]


  addDatabase:->

    dbtype = @getListView().modal.modalTabs.forms["On Koding"].inputs.Type.getValue()

    {nickname} = KD.whoami().profile
    pass    = md5.digest("#{Math.random()*1e18}") + md5.digest("#{Math.random()*1e18}")
    dbName  = md5.digest("#{Math.random()*1e18}").substr(-(15-nickname.length))
