Looking for good node setup for integrating cg with real footage

Can anyone provide me with an example node setup for composting vfx over real footage in cycles, thank you.

Never mind figured out one on my own.