Handle the data in the Firestore database for the Message class.
Cached messages synchronized with Firestore.
Adds a new message to the Firestore database.
Deletes a message from the Firestore database.
Saves a message to Firestore, creating it if absent.