Why can't I get rotary motion in the assembly when I get it in the motor sub-assembly?

I have modeled this in the past but as I added parts and sub-assemblies to it, it got weird and the whole assembly started to rotate.  So I deleted the assembly and reassembled it but now I cant figure out why I don't get the motor core to rotate. I will be adding more components, such as, a camming coupling and pulleys to the driven shaft.

SolidworksAssemblies