Very hard to manage. In this particular case, it is almost impossible to achieve Huana and RDC faction quests without one ot the companions leave the party (or both).
Arcane Archer is a powerful subclass, I don't know which Cipher subclass is better with a ranger, since Arcane Archer is basically a damage dealer I'd avoid Psion and would go on Soul Blade and Ascendant... but wait for Boeroer and other for synergies and so on. Also Sharpshooter is a good ranger subclass by the way.
Ydwin is a nice character, i think she deserve a run and Cipher/Rogue can fulfill the same role of a Cipher/Ranger (and cover also others).