include settings in compiled sources, move common/config down, don't dupe style in static