Added cli.php file