Custom template

Add the ability to use custom templates for the generators.