Bug fixes and ad isContentAd variable to the AddObject in DB+Classes