Updates

* Move common procedure to demo `config.php`
* Remove deprecated `static::$compress`
* Overwrite visibility for constructor method