public static function registerCustomRouteClass(string $routeKey, string $routeClass) {
        self::checkRegisterAvailability();
        if (!class_exists($routeClass))
            throw new AppLogicException('Class '.$routeClass.' does not exist');
        self::$customRouteClasses[$routeKey] = $routeClass;
    }