PWM frequency library

Hi,

where can I look up which timer on the Mega 2560 is connected to which pin?
Also how can I turn PWM Pin 2 & 3 into phase correct mode?
[Edit]
I think it should work like this:

TCCR3A = _BV(COM3A1) | _BV(COM3B1) | _BV(WGM30);
 TCCR3B = _BV(CS32);

One last question how can I invert the signal?

Thank you