added main file with index to other pages