Add database, BitmapCache implements