First version of the server working