saf application framework