If you want a simple direct replacement get a nexus 7 speed/coaster setup and all you really do is; install the tire, route the cable and mount the shifter. Adjust the tensioner and ride.
If you convert something from a mound of parts you should make sure to get all the parts off the same bike. I'd also recommend taking the crank setup if it's from a doner bike.