taking out the mutex and changing some client/server communication to conform with class standards