Flexible Multibody Dynamics: Efficient Formulations and Applications