mlim.mids function

prepare "mids" class object