rename main to index