refactored to allow multiple instances of Budgetbase references to support per ref instance events