Create ChatRoom.js

represents an object used for tracking users and rooms in the socket.io chat