events.py updated, constants now set by constants.py