First version of the server