support templates. fixes #35

similar to previous PR, except now it integrates into the
main yaml file instead of a separate graphTemplates.conf