Refactor of types and properties
Major refactor (structural type, collection as property attribute, regularproperty) + Builder + misc small fixes