Added templates for functions to manage redirects and url prefix matching
	modified:   taps.py