I got a Riverside 500e E.bike without battery and controller, but rear motor was still there. To make it working again, I install a controller and a battery. The motor cable (Hulong type) was also not there, so I re engineer the wiring between motor and controller: see attached drawing