config-reader improvements & namespace refactoring