added tag functionality and removed taggings tables