caching of data tables and classes. started adding a bit buffer but it's uh, pretty broken.