Fixed namspace use
Moved component configuration loading to seperate factory