Changing the structure around a little.
Updating the client test and client classes, and modified phpunit to add unit tests folder.
Readded missing method.
Merge pull request #5 from patyx7/dev

Updating the master branch.