First iteration of code that will rebuild in memory tables from proxy database.