RPC - testing, added a thread for RPC in the main of the master