First functional version of the server.