Add dto for (ML -> Backend) and Add classes for structured generation of tasks...
- Add DTO for (ML -> Backend) as discussed and agreed with @m.rudakov.
- Add Pydantic classes for structured generation of tasks and theory.
These entities are separated to distinguish their semantics. Pydantic classes are designed for structured LLM generation and manipulation inside ML pipeline, and DTOs for excanging with Backend.