consolidate filter code into select.py and remove dataset module dir