move confd_base to class definition