moved many mthods from IComponent to context
moved many mthods from IComponent to context, cleanup