public int addNew(String name) {
		try {
			/*
			 * Find the local class that implements the service return -1 upon
			 * exception or no such service
			 */
			String implClass = services.get(name);
			if (implClass == null) {
				return -1;
			}

			Class<?> c = Class.forName(implClass);
			Object o = c.newInstance();
			remoteToLocal.put(nextId, o);
			nextId++;
			return nextId - 1;
		} catch (ClassNotFoundException | InstantiationException
				| IllegalAccessException e) {
			/*
			 * return -1 upon exception
			 */
			return -1;
		}
	}