some fixes & cb flag
bug fixes (msg jsonschema fix) & gateway sample update
update sample logger use
restore package.json
improve logs
err code embed code