Yilong tuffy port

This is a temporary pull request to review the changes.
@feiranwang @gengyl08 : Same as above.