Added search filtering code
Merge pull request #3 from wraith228/search_filtering

Added search filtering code