Implementing method startREPL