changed addStructure, no more table name attribute, relations between object are now automaticly detected for on to many relations, where statements now support models as conditions