changed Template to an object instead of a library of static functions
Merge pull request #49 from fleur/master

changed Template to an object instead of a library of static functions