iFlyChat class implementation