Mean field games and control Geometry and constraints mathematics