erasure-code: separate profile from pool creation

Also ```None``` here please