bug fixes on moving code into the brand_safety app. Also basic adding and testing logic added.