-Modified code for all classes for proper program flow
-Added stub function closeGracefully
-Implemented locks for proper concurrency (NEED TO BE ADDED TO FUNCTIONS)
-Added timeout functionality to welcomeSocket binding process