[Monitoring] : Refactoring code - consolidatation monitoring api to monitoring_hw.c