added the start of the indexer
added a gitignore for the indexdir directory