started added events to modules and modules manager