protected function createBaseModel()
	{
		$name_parts = explode('_', $this->tableName());
		
		$path = $this->laravel['path'].'/models';
		
		for ($i = 0; $i < (count($name_parts) - 1); $i++) {
			$path .= '/' . Str::studly(Str::singular($name_parts[$i]));
		}
		
		if (count($name_parts) > 1 && !File::exists($path)) {
			File::makeDirectory($path, 0755, true);
		}
		
		$path .= '/' . Str::studly(Str::singular(end($name_parts))) . '.php';
		
		return $path;
	}