added root tag as an official tag in the database
removed obsoleted code
removed more obsoleted code