add init and make demo compatible
Link: https://code.alibaba-inc.com/Ali-MaaS/MaaS-lib/codereview/9606656
* add init and make demo compatible
* make demo compatible
* fix comments
* add distilled ut
* Merge remote-tracking branch 'origin/master' into ofa/bug_fix