added more tests for Component Factory feature. Added IContainer interface for IoC for testability.