Improving dynamic brake and moving  control variables to members

Improving dynamic brake and moving  control variables to members