In the elf world, humans control only a small part of the area. To open up new areas, you need to deal with the local lord elves, either by driving them away or reaching cooperation. Successful trainers can invest in building their own towns and become gym leaders who manage an area.
And Tang Rui came through time and space, determined to become a gym leader and build his own elf kingdom.