* move code indexer related code to a new package * fix lint * fix tests * fix fmt * GetMaxID support interface parameter