Define a structure to keep track of the information related to the new message
Add a class for accessing MySQL