Create events.py