public function view()
		{
		    // default variables
            $finder         = new Finder();
            $finder->start();

            // config
            $config         = app(SketchpadConfig::class);

            // base name
            $basePath       = Paths::fix(base_path('/'));
            $baseSegments   = explode('/', rtrim($basePath, '/'));
            $baseName       = array_pop($baseSegments) . '/';

            // view path
            $viewPaths      = Config::get('view.paths');
            $viewPath       = substr(Paths::fix($viewPaths[0]), strlen($basePath));

			// variables
			$app            = app();
			$data =
			[
				'route'     => $config->route,
				'assets'    => $config->route . 'assets/',
				'settings' =>
				[
					'route'             => $config->route,
					'basepath'          => $basePath,
					'basename'          => $baseName,
                    'viewpath'          => $viewPath,
                    'storagepath'       => Paths::relative($config->settings->src),
                    'controllerpath'    => trim(Paths::relative($finder->path), '/'),
					'namespace'         => method_exists($app, 'getNamespace')
                                            ? trim($app->getNamespace(), '\\')
                                            : 'App\\',
                    'namespaces'        => (new JSON('composer.json'))->get('autoload.psr-4')
				]
			];

			// return view
			return view('sketchpad::setup', $data);
		}