Split off table cache (table id to Table object) into it's own class.