Added ServerCommunicationThread

this is all still untested