Added Smarty library