Startup code for the election server. The server is in two "parts":
the GUI part for handling administrator's requests, and the network
part for handling clients' communication. Both the network and the
GUI are hooked up to the actual server logic through the Server
object, which we create here. When the GUI wants something done,
it calls the server logic and passes itself as an argument,
so that the server can display the results. The server reads in the
contents of config.xml and configures the port number listed in the
port tag, and sets up the elections.