protected function actionListener()
 {
     try {
         $this->root = Config::getInstance()->getGeneral('general', 'app_root');
         $module = URLs::getInstance()->module();
         if (Config::getInstance()->hasPlugin($module)) {
             // if the module part of the URI may be a plugin
             $config = Config::getInstance()->getPlugin($module);
             $this->root .= $module . '/';
         } else {
             $config = Config::getInstance()->getConfig();
         }
         $this->model = new Container($config);
         foreach ($config as $key => $value) {
             $this->model->addModel(parent::evaluateModel($value), $key);
         }
     } catch (ErrorException $e) {
         $this->model = new Container(array());
         // TODO
     } catch (Exception $e) {
         $this->model = new Container(array());
         // TODO
     }
 }