created server class