Fixed description in java_header. refs #418
Added first version of TemplateFactory.stg. refs #418