@scientistnobee the espruino way is to load code is web IDE via BLE. There are several ways to re arrange the codes and flash just like @jeffmer and @enaon did with P8, but it needs some effort. My modules are just POC only and you can flash each module in storage and do a require()
Could you please share any example of how to use require(). I never used such a function.