add new smarty framework to flightphp