Modeling and Simulation of Multibody Systems - Part I