Asset Client and BAM event publisher re fractor

let's remove all StringBuffer usage except ones that are adding added in loops.