Added tables with foreign keys