public function __construct()
 {
     try {
         Session::start();
         Config::getConf();
         $this->request = Request::getInstance();
         $this->router = new Router($this->request);
         $this->request->setRouter($this->router);
         $this->controller = MasterController::load();
     } catch (\Exception $e) {
         $this->controller = new ErrorController($e);
         //c'est fait
     }
 }