first pass at adding relations to model tables.