added MessageHandler and client package