Added initial version of indexer.