add simple command line interface