add a base clasee for the cv data structure based classes