Attempt at #49

All plugins now inherit from the same Filter base class.
There is a convenience function for plugins, to get the relevant
instances called with `self.instances`.