Baking Animation to Control Rig

Basically what I did for my blender plugin on steroids… seems to have the exact same issues and missing controls though.