Updating template Scala files and their class files

In preparation for the addition of Retract into the template package,
the input type has changed from Seq[String] to Array[String]