Separate out a table thing for the intermediate table.
Make it a class for good measure.
Rename resource name constant.