created a server communicator class