remove all occurences of LRMI and move LRMI to its own module.