[PATCH v10 1/3] create SMAF module