some sort of structure for the database; TODO parse the messages received and store in db