Add minmax constraint
Refactor, new file for derivations of RigidBody
Data saving commit