deployment.php: refactoring to class Runner