Extend your pi based extension to use the awesome fluid template engine.
Implementation hints available in README.txt
View all issues