Added license and java template.