Added convenience class for deducing service endpoints
Reorganising
Abstracting out generic SAML code