added a message handler class to load messages