Added indexer command. Moved ext init case to the factory