erasure-code: separate profile from pool creation

Repushed with a proper documentation (modulo my faulty english ;-)