Dynamics of structures undergoing gross motion and nonlinear deformations: A multibody approach