Extract loading of config file to config package

Should make adding validation (with unit tests) easier [#82968904]