adding main file and class for tags