Cleanup and reorganize `/doc`: database oriented stuff