Added functions to analyze skype contacts from db