This is the basic structure of the server.