changes server and client so atleast they somewhat work now, the client is delayed by 1 message always, will have to fix