Implementing method startREPL to allow fxconsole to be used as a library

Meaning that there is no need for fxconsole to start a connection, while it could reuse the client given from the outside function scope