Create event-driven_cp.py