Changed interface Templates to support Handlebars templates

Changed interface Templates to support Handlebars templates as header, footer and empty. For now the type has to be any, because Union types are not implemented yet.