complete basic code generation

complete standard ivoa model (ivoa does not get
generated, but is built-in)

create Reference DM with nested packages, borrowing
concepts from SourceDM and STC.