Split the Xero specific functions out into their own file