Heres a pic.
The sensor is shown removed from the board, it is held in the case by the bracket shown to its right
You dont have to remove the motor, like Oscar says, be gentle with the motor while it is attatched to the board or it will come off, re fitting the motor endbell is fiddly.
Hope this helps.
servo.jpg