Context roots redone

Redoes the service mappings. 

I've run tests locally and it all works as I expect, can switch the urls by supplying a different endpoint argument. 

The tests on jenkins have been scheduled but it might be an unreasonable amount of time to wait for something which seems to work. I'll leave this here anyway and report back when the tests finish.