wrote code for comp-kpi matrix backend and also Availability host data getting