add component manager to  context