Adds models and associations for tables