Final version of the server