Renamed main to index