Take a deep breath...
Your new baby is getting used to a new place, new family, new everything. Treat training like you would with a puppy (for now). It's hard to tell if she's peeing on the carpet because she's in a new environment or because she's not trained...
As far as your two becoming best of friends, give that some time too.
Everything can seem overwhelming the first few days...it may take some time for everyone to adjust.
If it helps, as much as I love my Bernie (when he joined us he became furbaby #4) the first days were a mixture of sheer joy and moments of panic (oh no! what have I done!?!?)..It wasn't long until I couldn't imagine our lives without him...And all those issues that seemed overwhelming in the beginning are hard to recall.