add logging to cli version
adapt program modes in menu to actually available ones