Added a command line interface