Renamed router index -> main
Internal variable rename