Database management layer for preloading queries.