setup tagging model and relationship.