further development for track tables and set tables. Also reconfigured our foreign keys.