Extracted FilterView class.

Fixes #7.