ContextClient Code and Examples