Added JavaDoc to MainServer.java