work on new API for filters and caches.
adapted filters to new API
work on new filter API ... more.