settings: support inheritance of structs
settings: add explicit Version() constructor
settings: make v2 to be v1 and delete v2