Refactor index, simplify codes and add extent list