public static RemoteResourcesServer newInstance(String[] args, boolean local) {
		// Disable chimpchat log
		java.util.logging.Logger.getLogger("com.android.chimpchat").setLevel( //$NON-NLS-1$
				java.util.logging.Level.OFF);
		// load configuration file
		loadConfigurationFile();
		// process command line arguments - command line defined arguments will
		// overwrite configuration file
		if (args != null) {
			processCommandLine(args);
		}

		// get basic needed arguments
		String adbPath = RemoteResourcesConfiguration.getInstance().get(
				RemoteResourcesConfiguration.ADB_PATH, "adb"); //$NON-NLS-1$
		int port = IConnectionConstants.CONTROL_SERVER_DEFAULT_PORT;
		try {
			String portStr = RemoteResourcesConfiguration.getInstance().get(
					RemoteResourcesConfiguration.SERVER_PORT);
			if (portStr != null) {
				port = Integer.parseInt(portStr);
			}
		} catch (NumberFormatException e) {
			// do nothing
		}

		// initialize jvm debug bridge instance
		ServerConnectionManager.getInstance().initializeDebugBridge(adbPath);

		return new RemoteResourcesServer(port, local);
	}