Add TCTheme class and us it in templates