Asset Client and BAM event publisher re fractor

Please see my above comments. Anyway, if you are to do it like this, then you could have built the repository directory once and use it in here and above.