added basic command line interface capabilities