Moved algorithms definition earlier.
Moved personas definition earlier, but after dependencies.
Added persona_id and modified columns to work_references.
Updated result classes with new work_references columns.