Added HappinessAnalyzer class