Added setLeaveMessage method in the EnterLeaveMessages class.
Implemented the methods to their commands.