refactored filterDefs into filterDefs and mapFilters;
filterDefs actually only defines the main Filter type, the map filters that inherit from it, and some utility misc.,

mapFilters gets XML resources and instantiates the filters