It is possible that the red/green/blue wires to the battery pin 2/3/4 are for contact and rear light,and the yellow/black /green(signal?) combo for throttle?not sure! My cotroler is from a incomplete RAP Tour 7 e bike...More info :
info@traprap.nl
service@traprap.nl
https://www.idbike.com/sensors