Simple MVC framework using smarty