Update template resource files based on simpler template.
Remove template java file and add template scala file.