   # MAKE NEW APP
   # #
 
-  defaultManifest = (type, name)->
-
-    {profile} = KD.whoami()
-    raw =
-      background    : no
-      behavior      : "application"
-      version       : "0.1"
-      title         : "#{name or type.capitalize()}"
-      name          : "#{name or type.capitalize()}"
-      identifier    : "com.koding.apps.#{utils.slugify name or type}"
-      path          : "~/Applications/#{name or type.capitalize()}.kdapp"
-      homepage      : "#{profile.nickname}.#{KD.config.userSitesDomain}/#{utils.slugify name or type}"
-      repository    : "git://github.com/#{profile.nickname}/#{utils.slugify name or type}.kdapp.git"
-      description   : "#{name or type} : a Koding application created with the #{type} template."
-      category      : "web-app" # can be web-app, add-on, server-stack, framework, misc
-      source        :
-        blocks      :
-          app       :
-            files   : [ "./index.coffee" ]
-        stylesheets : [ "./resources/style.css" ]
-      options       :
-        type        : "tab"
-      icns          :
-        "128"       : "./resources/icon.128.png"
-      fileTypes     : []
-
-    json = JSON.stringify raw, null, 2
-
   newAppModal = null
 
   getAppPath:(manifest, escaped=no)->

                  messages        :
                    regExp        : "For Application name only lowercase letters are allowed!"

  _createChangeLog:(name)->
    today = new Date().format('yyyy-mm-dd')
    {profile} = KD.whoami()
    fullName  = KD.utils.getFullnameFromAccount()

    """
     #{today} #{fullName} <@#{profile.nickname}>

        * #{name} (index.coffee): Application created.
    """

  prepareApplication:(name, callback)->

    unless name

    return FSHelper.escapeFilePath path  if escaped
    return path.replace /(\/+)$/, ""

  makeNewApp:(machine, callback)->

    newAppModal = new KDModalViewWithForms
      title                       : "Create a new Application"
