Couldent you create the bones, joints etc then use an IK spline to control the flapping of the wings?