Designed a draft structure for the chat backend.