support templates for roles

+review SYS @jesse
improve readability of loading conffiles
Merge branch 'feature/roletemplates' into develop