parameterizing 3rd party

Hi, I have a 3’rd party library (/protected/vendors/) and it’s not entirely configured by it’s ini files. Where can I create a proxy that will bootstrap this library, for instance, instantiate appropriate factories ? I don’t want to make it inside each model or controller.

Thank you.