refactor src/rt/minfo.d

For better encapsulation.