Configuration refactoring

WiidgetFactory parameters moved to configuration