add simple console interface