Refactor mux code into Read APIs, Set/Delete APIs and internal objects/utils. Change-Id: Ia4ce32ec18cf0c1c75de9084fbb28840d46892b4