Create Fill_Intermediate_Tables.php

This file does the majority of the heavy lifting.
In fact, most of the other files should be combined.