Refactor DFP API Wrapper

Eliminates repeated code and easier to maintain etc.