first changes to xero_gateway