Refactoring StaticDeformationSolver and depended classes