lib: move mnit::display|input out of mnit