Implemented handling connections using threads on the server, added comments to code