Question: is mavis and zeref connected?
Answer: They know each other. In Fairy Tail Zero chapter 7, they met at a lake in the forest. Zeref taught Mavis, Zeira, Precht, Warrod, and Yuri Dreyar their magic. The two were friends and Zeref hinted that it was because of him (directly or indirectly) that Mavis died.