public synchronized static BaseReader create(SourceSwitcher switcher) throws ReaderConfigException {
		BaseReader reader = null;
		Class<?> cluss = null;
		String name = switcher.toString();
		try {	
			createByConfig(name);
			if(name.equals("NotificationSystem")){
				cluss = XOIReader.class;
				reader = (BaseReader) Class.forName(cluss.getName()).newInstance();
				reader.setConfig(loginUrl, username, password, cookie, loginmethod);
			}	
		} catch (InstantiationException e) {
			e.printStackTrace();
		} catch (IllegalAccessException e) {
			e.printStackTrace();
		} catch (ClassNotFoundException e) {
			e.printStackTrace();
		}
		return reader;
	}