refactoring configuration loading 3 - the end of the trilogy