uses PhpTemplate as template engine for the demo.
use TemplateInterface for template.
fixed rendering argument.
a bit cooler way of rendering.