Thanks for that shout out @Mitch Messer , You can share the URL for that video training if you want. @Shawn Donnell , LIke @Ahmed Motiwala said, the 1031 exchange has to be a sale of investment real estate followed by a purchase of investment property. So you can't use the 1031 to either refinance a property you already own. And you can't purchase your primary residence (yet...)
The way to accomplish what you want is to do a complete 1031 and sell an investment property and purchase an investment property that is a really nice property you might like to live in one day. After using that property for investment for a year or two you have satisfied the intent requirement and can then change its use into your primary residence. So you do a 1031 and then convert that new rental into your next primary residence.
There's some really good scenarios. You just have to be patient.
At this point you haven't reduced your debt yet but you do have a choice. You can sell your old primary residence and take the proceeds tax free under the primary residence exclusion. And you could pay off that new primary. That would reduce your debt. Or you could rent out your old primary with the advantageous primary financing and do a refinance of your now new primary into a better loan as well.
You also don't have to make that decision instantly. Once you move out of your old primary you can rent it for up to 3 years and still be able to sell and take advantage of the tax free primary residence sale.