PIC16F72 want to use the two in a sine wave offline UPS

Hi everyone, who has an idea on how I can use the normal H Bridge FET, switches for my battery charger and inverter application. I want to use the two in a sine wave offline UPS. The machine I am currently using is a PIC16F72 micro controller. How do I go about this? Thanks for the answer.
