#508 Replace control.sh with PHP class

Install scripts