Add database for cache.
Split files.
Add note.
Fix error.