Asset Client and BAM event publisher re fractor

Why this has been defined as a global and initialise locally.