refactored cv ml base class. SF