feat: now fully functionnal query, but the scoring still needs to be adjusted
- Improved error handling and reporting,
- Expanded the coverage of the tests,