broke out various exceptions, fixed xml formatting and signiture issue
broke out various exceptions, fixed xml formatting and signiture issue