I hope dr phil can help you. Cuz in your messages you are still defending yourself and blaming others.
your daughter will not change quickly and maybe only 10% because she was acting like your wife for 2 yrs. The flag went up for me when I heard " i could make my dad his favorite food..he would have to teach me..but, then we wouldnt need her." that is not exact but, it was something like that . you can love your kids but, dont LOVE your kids.
Most people dont have that talk untill they are in a very deep relationship. Which your daughter is acting like she is at that step with you. question-->DID you let you daughter and wife have one on one time together. sleep-overs,shopping, talking? I also think you were being selfish. Your daughter wants her mother back..that tells me you never cared if your daughter was ready for another person to come into your household. You just needed a female person around and when you got that your daughter went on the back-burner..but, she will push until you cave and put her in front.
I hope you see what has happend and I'm glad your trying to get help.