Chat system functioning as local gen server