$client access added.
Check class on __construct().
Merge pull request #1 from TheFox/client-public-access

Client public access