Migrate partitioner implementation: * Adapt the code to use the DTO interface. * Initial migration of the algorithms code. * We should add a specific folder for the implemented algorithms.
Migrate partitioner implementation: