added mac calculation to payment, added setUrls, added return this to setters