Creation des factories + implémentation Algofactory