System programming course work, server part