Refactor names and create relationship between conversation id and message id.