if you can create your own ships then why not your own weapon or amour modules with a bunch of predesigned sections to stick together to create a module and the cost should be automatical defined by the prerequist tech and the purpose of the module say how much attack it does.