MessageHandler.cs implemented