Khushal: Added model and controller for defect analysis view