Refactored : Removed config merge to bean factory