Parent and Message class created