move filter chain to server class