Added Class Template.java