refactored the message class

implemented stabilize and notify

need to implement stabilize failed