added filtering

base filtering done. need to expand for more robust filtering and fix ui elements.