Create Indexer class and its basic methods.