Rework agendas.py as events.py for citysd