Adding constructPaymentURI() function, improving documentation.