 				if error 
 					ui.error 'An error occured.'
 				else
-					@app = result.name
-					@configure()
-
-
-	configure: ->
-		ui.header 'Generating', @app
-		@dir = @rootPath "/#{@app}"
-		fs.stat @dir, (err, stats) =>
-			if err then @configureSails() else ui.warn 'App already exists.'
+					@add result.name
+
+
+	update: (app) =>
+		ui.warn 'update command'
+
+	list: (app) =>
+		ui.warn 'list command'
+
+	remove: (app) =>
+		ui.warn 'remove command'
+
+	start: (app) =>
+		ui.warn 'start command'
+
+	stop: (app) =>
+		ui.warn 'stop command'
 
 
 	configureSails: ->

		LOCAL: 'localMongodbServer'
		REMOTE: 'someMongodbServer'
		URL: 'someMongodbServerWithURL'


	constructor: ->
		@startTime = new Date 
		@root = process.cwd()
		prompt.message = null
		@parseArgs()


	parseArgs: ->
		args = process.argv
		len = args.length
		if len >= 3
			@app = args[args.length-1]
			@configure()
		else
			console.log ''
			ui.warn 'Enter app name.'

ui = require './ui'

class Marie
	@args
	@app
	@dir
	@root
	@commands
	@startTime
	@endTime
	@initTime
