Common api for adt & ccd

Also ccds are logging better
Static typed Facility