public static function router($directory, $config = 'config.yml')
    {
        $request = Server::get('PHP_SELF');
        $root = Server::get('DOCUMENT_ROOT');
        $file = $root . $request;
        if(file_exists($file) && !is_dir($file))
        {
            return false;
        }
        else
        {
            Bootstrap::start($directory, $config);
            return true;
        }

    }