Modularized messageListener, better for maintenance.