Confectionary giant Hershey has created an executive position to oversee the company's relationship with local communities.