extracts filter to separate object + tests
move view init code to new main view class