Added associations to the tables