Add database and cacheloader