public DefaultApplicationMediator(IUserInterface ui, IGeneralConfiguration conf) {
super(ui, conf);
ReferenceProvider helper = new ReferenceProvider();
helper.setMediatorReference(this);
getVepController().register(ViewEvent.VIEWEVENTTYPE_GUI, new GUIViewEventProcessor(ViewEvent.VIEWEVENTTYPE_GUI, this));
getVepController().register(ViewEvent.VIEWEVENTTYPE_FILE, new FileEventProcessor(ViewEvent.VIEWEVENTTYPE_FILE, this));
if(!conf.getRegistration()){
RegistrationUI rem = new RegistrationUI();
rem.initialize();