Add class for create index and function into main for test index
add ignore to index