created Client class