     if app then cb app
     else @create name, cb
 
-  create:(name, callback)->
-
-    AppClass   = KD.getAppClass name
-    appOptions = KD.getAppOptions name
-    @register appInstance = new AppClass($.extend {}, true, appOptions)  if AppClass
+  create:(name, params, callback)->
+
+    [callback, params] = [params, callback]  unless callback
+
+    AppClass              = KD.getAppClass name
+    appOptions            = $.extend {}, true, KD.getAppOptions name
+    appOptions.params     = params
+    @register appInstance = new AppClass appOptions  if AppClass
     @utils.defer -> callback? appInstance
 
   show:(appOptions, callback)->


  open: do ->

    createOrShow = (appOptions, callback = noop)->

      name = appOptions?.name
      return warn "No such application!"  unless name

      appInstance = appManager.get name
      cb          = -> appManager.show appOptions, callback
      if appInstance then do cb
      else appManager.create name, appParams, cb

    (name, options, callback)->

