Fix name
Failed attempt at switching to Scala

The template just does not work for too many stupid reasons.
Revert "Failed attempt at switching to Scala"

This reverts commit f7a9625086097849d115282127b24c0b674498b1.
Let's go back to working Java generation.