Added chat listener class