There's a bunch of motors installable instead of the bottom bracket. E.g. from Bafang. You just connect it to a battery and that's it. The controller's inbuilt.