Complex sentence: He welcomes them and allows them to stay for a little while until they can find lodging; he then immediately puts them to work maintaining the temple grounds.
Split into simpler sentences: He welcomes them and allows them to stay while until they can find permanent lodging elsewhere. He immediately puts them to work maintaining the temple grounds.