Update repl with line reading and echoing