create event for adding a module to the moduleList