CS3516 Server and Client Code