Move process_response to ap_monitor module