Chocolate maker Mars Inc. will fund a five year, $10 million project to map the cocoa bean genome -- work that could lead to hardier, higher-yielding crops and better quality chocolate, the company announced Thursday.