webapp: add draft of command line interface