public static function parsePath($path){
		//strip prefix
		$path = str_replace(self::getPrefix(),'',$path);
		//break off the query string if we can
		if(strpos($path,'?') !== false){
			$query = substr($path,strpos($path,'?'));
			$path = substr($path,0,(strlen($path)-strlen($query)));
			//remove the questionmark
			$query = str_replace('?','',$query);
		}
		//setup opts
		$opts['path'] = $path;
		$opts['params'] = array();
		if(isset($query)) parse_str($query,$opts['params']);
		return $opts;
	}