added DB inserts for all tags

I commented out a DB tag inserts because they are taking very long time.
Please modify if any efficient way is found.
Merge pull request #1 from venkz/master

added DB inserts for all tags