updating the dao with a bulk loader and the query.py with flexible config calls