Task repository and service refactor
Fix
Fixes and syntax improve
Syntax improve
Fixes in status codes interpretation
Syntax improve