add skeleton for cli apps
add cli.php to sample project