Refactoring to support loading factories via service loader
Refactoring to support loading factories via service loader
Refactoring to support loading component factories via service loader
Removed redundant typecast