map.register(AddressModel.class, new SwingViewerCreator(AddressViewer.class));
map.register(PersonModel.class, new SwingViewerCreator(PersonEditor.class));
map.register(PersonModel.class, new SwingViewerCreator(PersonViewer.class));
map.register(PhoneModel.class, new SwingViewerCreator(PhoneEditor.class));
map.register(MemberArrayModel.class, new MemberArrayLayout(400), false);
map.register(AddressArrayModel.class, new AddressArrayLayout(400), false);
map.register(PhoneArrayModel.class, new PhoneArrayLayout(400), false);
map.register(EditListModel.class, new SwingViewerCreator(EditListEditor.class));
try {
mainController = new MainController(getFactory());