add struct describing job template for XML substitution
add job config templating.