added readline support with a tab completer that displays the options