MValue migration in SPNL

DO NOT MERGE

This pull request is to ask for comments. We must modify edge, scn, mry to adapt to those changes, if not, it's will break the build.