Motor, brake and feedback system