fix for jline2 usage now
Initial version of repl now works