skeletal repl
add exception handling to repl, unit test