made  ComponentManager Class immutable