Added comments to indexer.py