Added debugging option so hibernate shows SQL statements.
Moved annotations from properties to fields.
Fixed ui:repeat.
Added logging.
Fixed adding relationships.