Evening all

I've got an E28 520i mothballed ATM, the engine is stripped and I've decided I wanna fit a 2.8 dohc from an E36 into it. How much work is involved into doing such a conversion. No doubt the mounts will be different but my biggest concern is the wiring. Any advice will be greatly appreciated.