Added resource filter example. 

Closes #141