public function __construct()
 {
     Config::apply();
     $this->setupSession();
     $this->setupRouteData();
     $this->setupLocale();
     $this->setupDatabaseConnection();
 }