Change the name of the server.
Refactor Mainclass.