cli.py first commit

cli.py first commit: included in 0.3 release