make the indexer a real class and make it automatically run on first
start if there is no index so far.