improve integration of model fields in db
redefine db_table because of too long model names
options for defining nested relations when depth is set