Added Javadocs to Server and refactored the visibility and names of a few classes.