lots of changes in db_filtering.py scattered over last many months
move user param definitions to their own file