Cc game dev3.0

issue #3935 Refactor cc.sys