First decision is front or rear, or possibly crank drive.
If you want to keep the 9 speed cassette, and want rear hub motor you will need a cassette motor. Bafang CST for example, but not the BPM.
If your forks are rigid, then they are probably steel. If they are chunky, then you can put a...