Getting the config parsing from different sources for flexibility. Unitests and normal execution need different config to find modules etc..