1.Added filters for facets 2. Some cosmetic changes 3. Removed some print statements