In the upcoming eden update and the whole 3d editor, there is should be some kinda of away to manage loadout in the editor,
ex: module choose weapons, mags, .... and sync it with the unit you want to have it.
it will make life easier. and it's pretty cool feature to be able to manage the loadout without digging in scripts and complex stuff.