moved most constants to config.py