add filters

Add filter definition and filters to handlers.