Better templating support to example app