Overhaul of advanced features

Origin of:

- composite types
- one of type
- entity definition
- exclusive properties
- examples folder

Syntax update for:

- one of type
- referencing
- templates properties (variable property name)
Also, I don't think this is being very intuitive. Do we have a better way to do this?