Reworking to implement MDI
Reworking to implement MDI