you have a YX motor and that's a good thing, they are much tougher than the lifan 140, I have both and have looked inside both... YX is way better.
If your YX is like mine it will have a very simple stator that does not make power for lights, easy fix, get a new lifan 140 stator for $25 or so, then you need a voltage regulator for like $10, that's all you need to be able to run lights