Migrate starter class to Scala