Working version of REPL with some basic keyword functionality