Object-Oriented Mechanics of Particles