Rewrite of Loot Code to use Loot Table Configs