public function __construct()
 {
     $this->_request = new Request();
     $this->_response = new Response();
     if (!self::$routes) {
         self::$routes = json_decode(file_get_contents(Registry::get('appDir') . '/routes.json'), true);
     }
 }