Added SAMLWriter class