Added util.py and edited indexer