implement PhysicsEngine class (+ related classes) and embed it into the program