move constants to const.py