Client integration

Client integration, client examples not included.
Lots of updates.  A complete restructure actually.