added command line and tui