the only thing I can see being a real problem is the following/not following.

I'd need to look at an old bot ui mod I wrote for my priest and see how I overcame the follow issue there... In my current incarnation I have a macro that starts a heartbeat based function or stops it... so every 3 seconds my toons re-follow. Worked amazingly with the shadow priest because mind flay > follow command, not so much with the mages.

The rest could be handled through RPC which is made very easy with RDX, but I'm sure there is another RPC engine out there probably ace based.