PHP MVC framework; uses Smarty template engine