move popchart.py to ghcntool