 	console.log 'Crystal initialization is complete.'.green
 	
 init = (opts) ->
+	
+	# get crystal
+	crystal = this
 	
 	# get path
 	opts.path = opts._[1] || opts.path || this.path || process.cwd()

						else
							if module_result.module.length
								if !result.modules
									result.modules = []
								result.modules.push(module_result.module)
								addModule()
							else
								initProject result, opts.path
				addModule()

module.exports = init
		throw new Error "Path does not exist: #{opts.path}"
	
	# check if crystal config exists
	config = this.config opts.path
	if config != false
		throw new Error "Crystal has already been initialized in: #{opts.path}"
	
