erasure-code: separate profile from pool creation

Done