Improved relation example
Improved engine structure
Attributes now konw if they are primaries.