added global config, example jvm config and templates for java and
tomcat.