Added MessageDispatcher class