scala case class for settings