small changes, changed template extensions from .html to .tpl  (see changelog)