#5 progress: simplify model interface, start creating more general interface in Scala.