Update client.php

Added class wrapper