Refactor on zongji/index.js, make all functions as members of class ZongJi