mods to allow injection of services used in request handling