public static function run() {
        try {
            $router = new Router();

            (new ModuleLoader())->loadModules($router);

            $router->findRoute();

            Environment::load();
            Config::load();
            Helpers::load();
            Libraries::load();

            $mvcManager = new MvcManager();
            $mvcManager->runMvc(Router::$currentRoute);
        } catch (\Exception $e) {
            echo $e->getMessage();
            exit;
        }
    }