Foreign key and reference creation now in extra method.
Supports now multiple associations per entity.
Mapping now creates attribute for foreign key in non-* entity.
Inheritance implemented. Do not know if it works like it is supposed to.
First attempt to read max length of attributes.