Changed the functionality of the client and server

Server pushes messages to the clients and the clients ack