Does the motor have wires already connected? From what I remember of some brushed motors they have two exta tabs that allow connecting the wire leads at 90 degrees.
The two capacitors taped to the side are just spares, remove them and keep them with your spare parts.
BTW it would help if you could post a pic of the motor.