#2 added functionality for multiple templates
Merge pull request #3 from stefanjudis/master

#2 added functionality for multiple templates