Integrating your own code and interacting with UAG's COM object