Of course you ideally want to embed the controller to the motor for the shortest current path and easier cooling as a holistic structure. I Just want you to understand Ralph may lead you but nobody here. Reverse engineer the YGE use its hardware and create the pcb to fit inside.the Aluminum finned bezel.
Regards,
Hubert