Added repl stuff.
Added some repl functionality.