Merged common.py into const.py as they served the same function