refactoring ConfigHelper to enable test