Added REPL functionality