got dynamic loadout working

with macro generation from templates (and also updating Ship Files from
there)