[PATCH v9 1/3] create SMAF module