Exhibit 10.31 MASTER LICENSING AGREEMENT By and between