Optimized all the algorithms' directories' structure