Add :state and :percentage to documents index
Create DocumentJob to define document processing workflow

Update status percentage accordingly
Enable Write-Ahead Logging in SQLite