Use events to communicate in modules