First prototype for the server