Modeling and control of flapping wing micro aerial vehicles