Frontend for the server.