split trait CAUtil into CACore and CAQuery