create hasMany relationships
adjust templates to reflect hasMany relationships