Created class Context, and ContextClient and ContextServer derive from it. All managers are now common.