clone of http://www.smarty.net for hnmvc