Added command line interface.