Move the RSSS::generateText function to the Texts class and abstract it more