add UML diagrams and small modifications on Server.java