Adding a Cmd-based repl, splitting out interpreter