Add REPL history, autocomplete, and search