Restructured global data tables.

Instead of the main library dofiling the data file, which is prone to
error upon zipping, main.lua now simply requires the data file.