[fix][refact][doc] Cleaning
- Multiple cleaning commits that came along with other developments
- Fix some minor bugs
- Remove some unused code parts
- Update the missing documentation
- Update some comments
- Refactor and factorize some code parts
- Update the PV wrapping to improve user-firendliness