First pass of refactor

Exploring the code. Trying to unify creation of rbd's from one input
till i figure out how to make more than one.