Add mechanism for filtering
Merge pull request #58 from moznion/filter

Add mechanism for filtering