Adding REPL with history and autocomplete.