rvcon: add curses ui and basic functionality