save/load invs, config.cs init, new sm for all s

sm = structuremaster, s = structure/building