Common Code Base for ContextServer and ContextClient