He wrote a marital contract

I had my baby in December 2019. My ex and I went on a break on Tuesday and we just broke up for good an hour and a half ago. We had a rough pregnancy because I was 18 when pregnant and 19 at birth, and he was 20, and because if this he grew to hate my parents to the point where he’d always insult them when talking about them to me instead of saying your parents he’d say “those assholes” or something just because they got mad when they found out and didn’t want me to keep the baby and they grew to dislike him because of his temper and behavioral issues. My breaking point was that he wrote a marital contract for when we live together in which he places “rules” like my parents “are not allowed to sleep with Leo” (Leo is my son) “Leo will never sleep over at (my parents) place” when we visit the country, my parents will have 10 hours of visitation per week that we are there so if we go 2 weeks they have 20 hours, they’re not allowed to take care of him etc. and many more rules like that where he limits their contact. If they want to visit they have to say so 2 weeks in advance and he decides wether they come or not. It was so stupid and maddening I decided to just cut it. We come from different upbringings and different mentalities and he couldn’t understand why my parents were so mad that I fell pregnant and think they’re hypocrites for loving the baby now after it’s born when they originally didn’t want me to keep it and says that he was “considerate” when writing the contract because he just doesn’t want them around the baby at all because they “have no right” to him because they didn’t want him when I was pregnant. He also wants to tell him that my parents “wanted to kill him” (abort him) or give him for adoption and how they didn’t let us get married, live together or let him stay over and let him decide if he wants to “forgive his grandparents”. I just got so mad when he showed me that stupid contract... and the only way I could "Suggest changes” was if I agreed to leave my house against my parents and stay with him. I’m still mad every time I read that stupid contract and at the same time I get anxious and have been nauseous about doing this as a single mom...