Which organ secretes enzymes and has a major role in diabetes?