created commissions object and better integrated the affiliates earnings with the shop, fixes #8, fixes #7, fixes #6, fixes #9
fixes #5