Inserted newline at end of file
Added lazy fetch where necessary
Corrected field name of table
Adapted database synchronisation routines to new domainmodel