of such ordinances and the collection of such license fees, provided, however, that no license fee shall exceed $50.00 per year and in its discretion to provide for the payment of the expenses thereof; to provide for the measuring or weighing of coal, lime, grain, or other matter sold in the said Town.