WIP; refactor nimsdicom to use composer pattern