Rearranged MIRS frontend to load files during init.