finish most dataaccess logis
updates config