creates tag and tagging models and sets up relationships