Add filtering option for resources.
Remove results view from router.
Extract some code to base classes.