Beginning a Scala port