Final university thesis - Server part.