Factorize config file calls in system/Main.scala