added MessageHandler and License to main and test