add main index file