Change how messages are stored in the database. They now have a type associated with them to be used in the chat message adapter to inflate appropriate resources