added RigidBody class and relative classes.
update for new classes.
implemented a box shape.