Class instantiation of server