Modify HttpRequestTemplate and HttpResourceGroup to be DI friendly