erasure-code: separate profile from pool creation

Thank you for the kind words :-) Initially I made profile from the list of arguments but then realized that since it comes from the yaml file, it is originally a dict which has to be converted to arguments and back to a dict. And it seemed an unnecessary complication.