modular: removed old events code from config