add tables and associations