made first class

`message = models.Message(*i)`
`messages.append(message)`
change
`messages.append(models.Message(*i))`