Client class