Changed the way the client and server communicates