chat and chatMessage class added