Implemented Fragment Filters.

(Filter system used from Sparrow-S, see:
https://github.com/racarone/Sparrow-S)