Move config processing to scala-utils