smmapi framework