Reduced parameter usage. Added message passing between clients and
servers.