Indexer and pHash

Indexer and pHash C port implementation