Rex/Retriever code overhaul.

Updating Rex code for saving and easier addition of upcoming content.