Initial version of the indexer