added documentation to Server.java