Instead of throwing away the plastic drill case / housing, cut away what you don't need and save enough to clamp the motor in place just like when it was a drill. Then you can mount 1/2 of what is left of the drill case to your device, insert the motor, then screw the other half of the what remains of the case in place to hold the motor.