rename struct Client to struct Server