Take a look at ‘main.pd’ in my ‘m5’ patch (link to related discussion below). You are free to use it
‘main.pd’ handles translating all I/O (audio, knobs, leds) between the HW (OSC messages) and PD (send & receive channels), and you can build upon that by replacing patch-main.pd, which is loaded by main.pd.
Basically it’s like ‘mother.pd’ from the Organelle, but for 5moons.