Update and rename database.md to doc/database.md