add type column to tags
create tag inheritance class for sti