Template Engine extracted from IPF Web Framework