WIP: re-factor nimsdicom using composer pattern