Adds command history and auto completion to REPL