Migrated inverted index example to example package