Extended the data model and logic. Now it is possible to create a map
definition and map instance out of a definition.