server class