add initial sketch of MRI primitives implementation