Data manager refactor

This PR is centered on the data manager refactoring, but if you have corrections following the PR#144, do not hesitate to integrate them directly here. It will be easier to test it quickly and will avoid tons of rebase...