added basic CLI to example program