update code-tool, add ServiceGenerator