Move the filter abstract class from filters.py to the core.py (issue #13).