Templating Tag class

The Tag class has also be put in a dedicated package.
Those modifications will allow tagger package reutilisability in other
projects if needed.