cam installed, accessory problem
The issue you are describing about the A/C causing problems with your idle is tuning related. I initially had this problem with my cam with the stock tune and corrected it with HP Tuners. It sounds like they may have only tuned it with the A/C off or on the dyno in which is usually is always off.

