[core] added Tag class to models.py