remove unused local vars
composer update
fix bin/server usage

+ support non contextual application (only index.php)
remove global modifier