Move all the statistics resources into res dir and make it as a python package
Add a new function which can split N grmas and fix some writeOut functions bug