The question is too unspecific for SO. Probably try softwareengineering.stackexchange.com but probably there too. This is something that you can only learn on your own from other opensource projects. Depending on how you want to organize it, you may take a look at monorepo —
Estus Flask 19 secs ago