Create ChatManager.js