changed example to use smarty template engine
enable smarty module and renamed it to smarty3