add java template
fixes format for Converter.java.template, merges #1