Changed the fundamental functions of the code to Implement Callbacks 

Callbacks allow the server to send messages back to the clients. I used michelles tutorials on callbacks to get this working

I also broke Michaels GUI as callbacks are now required.