Add cache support to data manager
Add cache support to the database compiler