Switching client type to class from struct
Added an example of how to use the diag center.

I have no compiler, so it might not work...