moved MessageHandler class definition in a MessageHandler.h
unit tests for MessageHandler