Client: Separated output generation and printing from RemoteInvocator to
a separate class.