It's hard to deal with all that you now find in fron of you....separation from spouse, kids, etc., but I have a recommendation for you if you want peace. If you want your wife to love you more than you want the Lord to be pleased with you, then you will never be happy yourself.
The number one thing that you must do is to make amends with your Heavenly Father. If your repentence process does not totally consume your attention, every day and night, it won't really matter that much what else you might do during the rest of your life. And, you must totally rely on the Lord for your fate, trusting Him no matter what He wants you to do.
A powerful example of this trust is the story of Joseph who was sold into slavery by his brothers. He was diligent to do what ever the Lord asked of him. When he was propisitioned and hounded by Potiphar's wife, Joseph finally had to flee, and when Potiphar returned home his wife, fearing that Joseph might tell on her, made up lies about Joseph which blamed him for attacking her. Joseph had been very tusted by Potiphar and could have excoriated her in front of Potipher and the rest of the staff, but he decided he would not do that out of selfless concern for Potiphar's relationship with his wife, and trusted in the Lord, putting his fate totally into the hands of God.
Once we show the Lord that we will do what ever He asks of us, He bestows us with spiritual blessings that will carry us through any hardship we will face in life. We have to trust the Lord who sees what we cannot see, and He will direct our lives in a more fulfilling and joyful life.