public static function normalizeUrl($url) {
        if (!class_exists('URLNormalizer')) {
            require_once(realpath(__DIR__.'/../../classes').'/URLNormalizer.php'); 
        }

        $un = new \URLNormalizer();
        $un->setUrl($url);
        return $un->normalize();
    }