Mechanics, integrability and control Mechanics, integrability and control