more work on persistence / relationships - still need to figure out the compound primary key with foreign keys in it for schema generation