skeleton of the server