Thanks for the advice as I would have been up a creek with out it. I had to remove the motor and replace it three times due to issues with the replacement motor. But in the end with the correct motor, all worked out well. A couple of things that I discovered that weren't obvious. You need to remove the plastic shield on the back side of the motor (power connection side) before trying to remove the motor as otherwise there is not enough space. If you are also replacing the housing that secures the motor to the frame, it can be installed in four axis, but only one works. The one that works is the one that orients the positive terminal (the one with with the red dot) directly above the negative terminal and also has the indention for speedometer housing towards the front of the bike. Zero tends to ship the motors with the housing installed, but there are at least two different housing brackets and if you don't have the right one, you can't install the speedometer housing. Check this before you install the motor as it might save you a few hours work. Also, I recommend checking the motor temperature sensor on the new motor by simply plugging the sensor wire from the bike into the connector on the new motor before you begin. If you have a bad sensor and you don't test, you probably won't find out until you are done replacing the motor and ready for a test run, then you will need to get a new motor and start all over again.
On the third try, I was able to disassemble, replace, reassemble and test drive in three hours. I'm sure that next time, I will be able to do it in two hours.