fleshing out more of REPL structure and successfully compiles