Remove main index file and swap routes