add index.h file
add more changes to index.h for first use