Update Client API

Client now takes the entity as a variable directly on construction, making all the functions work without having to call discover($entity) first
Update example to use new Client API