HelloMessage and FailureMessage classes added