Refactor of ChatGPT thread, connect to C2S packet handling, and initial ChatDataManager class, to keep track of each entity and previous messages.