Adapted BasicContextIndexer to skeleton

Renamed SynonymIndex to BasicContextIndexer and adapted it to skeleton.