add repl-main with interpreter wrapping

now reqT can be run from the command prompt