I think mid drives work best with a rear internal geared hub such as Alfine or Rohloff , that way you can have a constantly good chainline.
Doing this takes away one of the advantages of a mid drive, this is the ability to swap wheels easily.
I would go for a torque sensor rear hub. buy from...